package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.Slide;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface AdminSlideService extends IService<Slide> {
    void upload(Slide slide);

    void deleteById(Long id);

    void updateBy(Slide slide);

    List<Slide> selectAll();

    Page<Slide> selectBy(String picName,Integer pageNum, Integer pageSize);
}
